package generatedClasses;

import java.util.*;
import struts.*;
import struts.tools.*;

public class DAOListContactCreator
{
  protected static String nl;
  public static synchronized DAOListContactCreator create(String lineSeparator)
  {
    nl = lineSeparator;
    DAOListContactCreator result = new DAOListContactCreator();
    nl = null;
    return result;
  }

  public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
  protected final String TEXT_1 = "";
  protected final String TEXT_2 = NL;
  protected final String TEXT_3 = NL;
  protected final String TEXT_4 = NL;
  protected final String TEXT_5 = NL;
  protected final String TEXT_6 = NL;
  protected final String TEXT_7 = NL;
  protected final String TEXT_8 = NL + "\t";
  protected final String TEXT_9 = NL;
  protected final String TEXT_10 = NL;
  protected final String TEXT_11 = NL + "\t" + NL + "\t";
  protected final String TEXT_12 = NL;
  protected final String TEXT_13 = NL;
  protected final String TEXT_14 = NL;
  protected final String TEXT_15 = NL;
  protected final String TEXT_16 = NL;
  protected final String TEXT_17 = NL;
  protected final String TEXT_18 = NL;
  protected final String TEXT_19 = NL;
  protected final String TEXT_20 = NL;
  protected final String TEXT_21 = NL;
  protected final String TEXT_22 = NL;
  protected final String TEXT_23 = NL;
  protected final String TEXT_24 = NL + "\t" + NL + "\t";
  protected final String TEXT_25 = NL;
  protected final String TEXT_26 = NL;

  public String generate(Object argument)
  {
    final StringBuffer stringBuffer = new StringBuffer();
    stringBuffer.append(TEXT_1);
    stringBuffer.append("package struts.domain;");
    stringBuffer.append(TEXT_2);
    stringBuffer.append("import java.io.Serializable;");
    stringBuffer.append(TEXT_3);
    stringBuffer.append("import java.util.List;");
    stringBuffer.append(TEXT_4);
    stringBuffer.append(TEXT_5);
    stringBuffer.append("public class DTOListContact implements Serializable {");
    stringBuffer.append(TEXT_6);
    stringBuffer.append(TEXT_7);
    stringBuffer.append("	private static final long serialVersionUID = 1L;");
    stringBuffer.append(TEXT_8);
    stringBuffer.append(TEXT_9);
    stringBuffer.append("	private List<Contact> contactList;");
    stringBuffer.append(TEXT_10);
    stringBuffer.append("	private String error;");
    stringBuffer.append(TEXT_11);
    stringBuffer.append(TEXT_12);
    stringBuffer.append("	public List<Contact> getContactList() {");
    stringBuffer.append(TEXT_13);
    stringBuffer.append("		return contactList;");
    stringBuffer.append(TEXT_14);
    stringBuffer.append("	}");
    stringBuffer.append(TEXT_15);
    stringBuffer.append("	public void setContactList(List<Contact> contactList) {");
    stringBuffer.append(TEXT_16);
    stringBuffer.append("		this.contactList = contactList;");
    stringBuffer.append(TEXT_17);
    stringBuffer.append("	}");
    stringBuffer.append(TEXT_18);
    stringBuffer.append("	public String getError() {");
    stringBuffer.append(TEXT_19);
    stringBuffer.append("		return error;");
    stringBuffer.append(TEXT_20);
    stringBuffer.append("	}");
    stringBuffer.append(TEXT_21);
    stringBuffer.append("	public void setError(String error) {");
    stringBuffer.append(TEXT_22);
    stringBuffer.append("		this.error = error;");
    stringBuffer.append(TEXT_23);
    stringBuffer.append("	}");
    stringBuffer.append(TEXT_24);
    stringBuffer.append(TEXT_25);
    stringBuffer.append("}");
    stringBuffer.append(TEXT_26);
    return stringBuffer.toString();
  }
}
